Learn R Programming

medfate (version 0.2.2)

Vertical profiles: Vertical profiles

Description

Functions to generate vertical profiles generated by an input forest object.

Usage

vprofile.LeafAreaDensity(x, SpParams, z = NULL, gdd = NA, draw = TRUE)
vprofile.FuelBulkDensity(x, SpParams, z = NULL, gdd = NA, draw = TRUE)
vprofile.PARExtinction(x, SpParams, z = NULL, gdd = NA, draw = TRUE)
vprofile.SWRExtinction(x, SpParams, z = NULL, gdd = NA, draw = TRUE)
vprofile.WindExtinction(x, SpParams, wind20H, z = NULL,  gdd = NA, draw = TRUE)

Arguments

x

An object of class forest

SpParams

A data frame with species parameters (see SpParamsMED).

z

A numeric vector with height values.

gdd

Growth degree days.

wind20H

The value of measured wind speed at 6 m = 20ft (in m/s).

draw

A logical flag to indicate that a plot is desired.

Value

A numeric vector with values measured at each height. Units depend on the profile function:

  • vprofile.LeafAreaDensity: Cumulative LAI (m2/m2) per height bin.

  • vprofile.FuelBulkDensity: Fuel bulk density (kg/m3) per height bin.

  • vprofile.PARExtinction: Percent of photosynthetically active radiation (%) corresponding to each height.

  • vprofile.SWRExtinction: Percent of shortwave radiation (%) corresponding to each height.

  • vprofile.WindExtinction: Wind speed (m/s) corresponding to each height.

See Also

forest

Examples

Run this code
# NOT RUN {
#Default species parameterization
data(SpParamsMED)

#Load example plot plant data
data(exampleforest)

vprofile.LeafAreaDensity(exampleforest, SpParamsMED)
vprofile.FuelBulkDensity(exampleforest, SpParamsMED)

vprofile.PARExtinction(exampleforest, SpParamsMED)
vprofile.SWRExtinction(exampleforest, SpParamsMED)

vprofile.WindExtinction(exampleforest, SpParamsMED, 20)

# }

Run the code above in your browser using DataLab